const mysql = require('mysql')
//创建连接
const conn = mysql.createConnection({
	host: '',
	port: ,
	user: '',
	password: '',
	database: ''
})
//连接mysql
conn.connect((err) => {
	if (err) {
		console.log(err)
		return;
	}
	console.log('数据库链接成功！')
})


module.exports={
	conn
}